<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="JavaScript" src="chemdraw.js"></script>
<script language="JavaScript"> cd_includeWrapperFile(""); </script>
<script language="JavaScript"> 
	function getarg(name){
	    var u=window.location.toString();
	    u=u.split('?');
	    if(u.length==1)return 0;
	    uu=u[1].split('&');
	    for(i=0;i<uu.length;i++)
	    {
	            s=uu[i].split('=');
	            if(s[0]==name)
	                    return s[1];
	    }
	    return 0;
	}
	c = getarg("c");
	s=getarg("s");
	function uuu(){
		var pluginName = this.getarg("c");
		var result = "";
		var pver = this.cd_getVersion("v_"+pluginName);
		if (pver.indexOf(" Net ") >= 0)
			result = "Sorry, this requires the Std or Pro plugin";
		else
			result = this.cd_getData("v_"+pluginName, "chemical/x-daylight-smiles");
		window.opener.document.getElementById(pluginName).value = result;
		//alert(result);
	}
</script>
</head>
<body onbeforeunload="uuu()" style="padding:0px;margin:0px">
<center>
<div onmouseout="uuu()" style="border:1px solid black;height:250px">
<script language="JavaScript"> cd_insertObjectStr("<embed  align='baseline' border='0' width='300' height='250' type='chemical/x-cdx' name='v_"+c+"' id='v_"+c+"'>"); </script> 
<script language="JavaScript">setv(c,s);</script> 
</div>
</center>
<center><input type="button" value="确定" id="exit" onclick="window.close();"/></center>
</body>
</html>

